<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.org/rich"
	template="../include/template.xhtml">

	<ui:define name="pageTitle">
		<h:outputText value="讨论圈" />
	</ui:define>
	<ui:define name="logoTitle">
		<h:outputText value="讨论圈" />
	</ui:define>	

	<ui:define name="content">
		<style type="text/css">
<!--
.inputClass {
	border: 1px solid #6699CC;
	width: 300px;
	margin-left: 4px;
}

-->
</style>
		<br />
			<h:form style="margin-bottom:0px;padding-bottom:0px;">
				<rich:togglePanel switchType="client" stateOrder="first,second">
					<f:facet name="second">
						<s:div>
							<ui:include src="/include/forum/firstLine.xhtml">
								<ui:param name="next" value="first" />
							</ui:include>
						</s:div>
					</f:facet>
					<f:facet name="first">
						<s:div>
							<ui:include src="/include/forum/firstLine.xhtml">
								<ui:param name="next" value="second" />
							</ui:include>
							<rich:dataGrid value="#{forumIndexAction_plates}" var="vplate"
								columns="2" style="border-style:none;width:100%;">
								<rich:panel style="border-style: none;">
									<h:outputText value="※" />
									<s:link value="#{vplate.name}" view="/forum/plate.xhtml"
										styleClass="strong">
										<f:param name="plateId" value="#{vplate.id}" />
									</s:link>
									<br />
									<br />
									<h:outputText value="#{vplate.content}" />
									<br />
									<h:outputText value="版主:" />
									<h:outputText value="#{vplate.owner.nickName}" />
									<br />
								</rich:panel>
							</rich:dataGrid>
						</s:div>
					</f:facet>
				</rich:togglePanel>
			</h:form>
		
	</ui:define>
</ui:composition>
